
<!DOCTYPE html>
<html>

<head lang="en">
    <title>找攻略</title>
    <meta charset="utf-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

    <link rel="stylesheet" href="/js/bootstrap-4.1.1-dist/css/bootstrap.min.css">
    <script src="/js/jquery/jquery.min.js"></script>
    <script src="/js/bootstrap-4.1.1-dist/js/bootstrap.min.js"></script>
    <link rel="stylesheet" href="/css/font/css/font-awesome.min.css"/>
    <link rel="stylesheet" href="/css/reset.css"/>
    <link rel="stylesheet" href="/css/strategyComment.css"/>
    <script src="/js/plugins/jrender/jrender.min.js"></script>
    <link rel="stylesheet" href="/js/plugins/dialog2/dialog.css"/>
    <script src="/js/plugins/dialog2/dialog.min.js"></script>
    <script src="/js/common.js"></script>
    <script src="/js/checkLogin.js"></script>
    <script type="text/javascript">
        $(function () {
            //获取当前登录用户的id
            console.log(user.id);
            //根据当前登录的用户查询订单
            $.get(baseUrl+"/orderForms/"+user.id,function (data) {
                console.log(data);
                //渲染数据
                $("#comment").renderValues({list:data})
            })
        })
    </script>
</head>

<body>
<div class="search-head">
    <div class="row nav-search">
        <div class="col">
            <a href="javascript:history.go(-1);" style="position: absolute;top: 3px;left: 22px;">
                <span><i class="fa fa-chevron-left fa-2x" style="color: white;"></i></span>
            </a>
        </div>
        <div class="col">
            <span>酒店订单</span>
        </div>
        <div class="col"></div>
    </div>
</div>

<div class="row" id="comment">
    <div render-loop="list">
        <div class="row">
            <div class=""></div>
            <div class="comment-head">
                <nobr>
					<span>
                       <p role="button" style="float: left">入住客户:</p>
                       <p render-html="list.name" ></p>
					</span>
                </nobr><br>
                <nobr>
					<span>
                       <p role="button" style="float: left">入住日期:</p>
                       <p render-html="list.checkInTime" ></p>
					</span>
                </nobr><br>
                <nobr>
					<span>
                       <p role="button" style="float: left">离开日期:</p>
                       <p render-html="list.leaveTime" ></p>
					</span>
                </nobr><br>
                <nobr>
					<span>
                       <p role="button" style="float: left">所住酒店:</p>
                       <p render-html="list.grogshop.grogshopName" ></p>
					</span>
                </nobr><br>
                <nobr>
					<span>
                       <p role="button" style="float: left">居住价格:</p>
                       <p render-html="list.money" ></p>
					</span>
                </nobr><br>
               <!-- <nobr>
					<span>
                       <p role="button" style="float: left">补充说明:</p>
                       <p render-html="list.commend" ></p>
					</span>
                </nobr>-->
                <h>
                    <p style="color: red">-------------------------------------</p>
                </h>
            </div>
        </div>
    </div>
</div>


</body>
</html>